package com.nanrui.mutualinductor.data;


public class Packet_13
        extends DKPacket
{
    private long mDateTime;
    private short mType;
    private long sDataTime;
    private short sFlag;
    private short sStatus;
    private short sType;

    public Packet_13()
    {
        super((short)1, (short)19);
    }

    public long getmDateTime()
    {
        return this.mDateTime;
    }

    public short getmType()
    {
        return this.mType;
    }

    public long getsDataTime()
    {
        return this.sDataTime;
    }

    public short getsFlag()
    {
        return this.sFlag;
    }

    public short getsStatus()
    {
        return this.sStatus;
    }

    public short getsType()
    {
        return this.sType;
    }

    byte[] packContent()
    {
        return new byte[] { (byte)this.mType, (byte)(int)this.mDateTime, (byte)(int)(this.mDateTime >> 8), (byte)(int)(this.mDateTime >> 16), (byte)(int)(this.mDateTime >> 24) };
    }

    public Packet_13 setmDateTime(long paramLong)
    {
        this.mDateTime = paramLong;
        return this;
    }

    public Packet_13 setmType(short paramShort)
    {
        this.mType = ((short)paramShort);
        return this;
    }

    void unpackContent(byte[] paramArrayOfByte)
    {
        this.sStatus = ((short)(short)(paramArrayOfByte[0] & 0xFF));
        this.sType = ((short)(short)(paramArrayOfByte[1] & 0xFF));
        this.sFlag = ((short)(short)(paramArrayOfByte[2] & 0xFF));
        this.sDataTime = (paramArrayOfByte[3] & 0xFF | paramArrayOfByte[4] << 8 & 0xFFFF | paramArrayOfByte[5] << 16 & 0xFFFFFF | paramArrayOfByte[6] << 24 & 0xFFFFFFFF);
    }
}

